import { createRouter, createWebHistory } from 'vue-router'
import TranslationManager from '@/views/TranslationManager.vue'
import PackageBuilder from '@/views/PackageBuilder.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      redirect: '/translations'
    },
    {
      path: '/translations',
      name: 'translations',
      component: TranslationManager
    },
    {
      path: '/package',
      name: 'package',
      component: PackageBuilder
    }
  ]
})

export default router
